using System;
using System.Threading.Tasks;
using Acme.BookStore.StockManagement.Dtos.LiuShuiGuanLianPiCi;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Acme.BookStore.StockManagement.Services
{
    /// <summary>
    /// 出入库流水关联批次详情应用服务接口
    /// </summary>
    public interface ILiuShuiGuanLianPiCiAppService : IApplicationService
    {
        /// <summary>
        /// 获取出入库流水关联批次详情分页列表
        /// </summary>
        /// <param name="input">查询条件</param>
        /// <returns>分页结果</returns>
        Task<PagedResultDto<LiuShuiGuanLianPiCiDto>> GetListAsync(LiuShuiGuanLianPiCiGetListInputDto input);

        /// <summary>
        /// 获取出入库流水关联批次详情
        /// </summary>
        /// <param name="id">主键ID</param>
        /// <returns>出入库流水关联批次详情</returns>
        Task<LiuShuiGuanLianPiCiDto> GetAsync(int id);

        /// <summary>
        /// 创建出入库流水关联批次详情
        /// </summary>
        /// <param name="input">出入库流水关联批次详情</param>
        /// <returns>创建后的出入库流水关联批次详情</returns>
        Task<LiuShuiGuanLianPiCiDto> CreateAsync(LiuShuiGuanLianPiCiDto input);

        /// <summary>
        /// 更新出入库流水关联批次详情
        /// </summary>
        /// <param name="id">主键ID</param>
        /// <param name="input">出入库流水关联批次详情</param>
        /// <returns>更新后的出入库流水关联批次详情</returns>
        Task<LiuShuiGuanLianPiCiDto> UpdateAsync(int id, LiuShuiGuanLianPiCiDto input);

        /// <summary>
        /// 删除出入库流水关联批次详情
        /// </summary>
        /// <param name="id">主键ID</param>
        /// <returns></returns>
        Task DeleteAsync(int id);
    }
} 